package com.iotek.ssm.pojo;

/**
 * 页面跳转类，用于记录跳转信息
 */
public class JumpDetails {
    private String source;//跳转信息来源
    private String nextPage;//跳转到的页面
    private String nextUrl;//跳转的页面的url
    private Integer time; //在跳转页面停留的时间

    public JumpDetails() {
    }

    public JumpDetails(String source, String nextPage, String nextUrl, Integer time) {
        this.source = source;
        this.nextPage = nextPage;
        this.nextUrl = nextUrl;
        this.time = time;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public void setNextPage(String nextPage) {
        this.nextPage = nextPage;
    }

    public void setNextUrl(String nextUrl) {
        this.nextUrl = nextUrl;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public String getSource() {
        return source;
    }

    public String getNextPage() {
        return nextPage;
    }

    public String getNextUrl() {
        return nextUrl;
    }

    public Integer getTime() {
        return time;
    }

    @Override
    public String toString() {
        return "JumpDetails{" +
                "source='" + source + '\'' +
                ", nextPage='" + nextPage + '\'' +
                ", nextUrl='" + nextUrl + '\'' +
                '}';
    }
}
